#include "debugdevice.h"
#include "ui_debugdevice.h"

DebugDevice::DebugDevice(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::DebugDevice)
{
    ui->setupUi(this);
}

DebugDevice::~DebugDevice()
{
    delete ui;
}

void DebugDevice::recvcom(QByteArray ba)
{
    ui->textBrowser->append(ba);
//    ui->textBrowser->append("\r\n");
}

void DebugDevice::sendcom(QByteArray ba)
{
    ui->textBrowser_2->append(ba);
//    ui->textBrowser_2->append("\r\n");
}
